﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001355 RID: 4949
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeMultipleActivityExpeditionRewardScRsp : IMessage<TakeMultipleActivityExpeditionRewardScRsp>, IMessage, IEquatable<TakeMultipleActivityExpeditionRewardScRsp>, IDeepCloneable<TakeMultipleActivityExpeditionRewardScRsp>, IBufferMessage
	{
		// Token: 0x17003E70 RID: 15984
		// (get) Token: 0x0600DD9C RID: 56732 RVA: 0x002514D3 File Offset: 0x0024F6D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeMultipleActivityExpeditionRewardScRsp> Parser
		{
			get
			{
				return TakeMultipleActivityExpeditionRewardScRsp._parser;
			}
		}

		// Token: 0x17003E71 RID: 15985
		// (get) Token: 0x0600DD9D RID: 56733 RVA: 0x002514DA File Offset: 0x0024F6DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeMultipleActivityExpeditionRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E72 RID: 15986
		// (get) Token: 0x0600DD9E RID: 56734 RVA: 0x002514EC File Offset: 0x0024F6EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeMultipleActivityExpeditionRewardScRsp.Descriptor;
			}
		}

		// Token: 0x0600DD9F RID: 56735 RVA: 0x002514F3 File Offset: 0x0024F6F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeMultipleActivityExpeditionRewardScRsp()
		{
		}

		// Token: 0x0600DDA0 RID: 56736 RVA: 0x00251506 File Offset: 0x0024F706
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeMultipleActivityExpeditionRewardScRsp(TakeMultipleActivityExpeditionRewardScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.fNGGHCIAAJC_ = other.fNGGHCIAAJC_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DDA1 RID: 56737 RVA: 0x0025153C File Offset: 0x0024F73C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeMultipleActivityExpeditionRewardScRsp Clone()
		{
			return new TakeMultipleActivityExpeditionRewardScRsp(this);
		}

		// Token: 0x17003E73 RID: 15987
		// (get) Token: 0x0600DDA2 RID: 56738 RVA: 0x00251544 File Offset: 0x0024F744
		// (set) Token: 0x0600DDA3 RID: 56739 RVA: 0x0025154C File Offset: 0x0024F74C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003E74 RID: 15988
		// (get) Token: 0x0600DDA4 RID: 56740 RVA: 0x00251555 File Offset: 0x0024F755
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<CNHNJPOMCLD> FNGGHCIAAJC
		{
			get
			{
				return this.fNGGHCIAAJC_;
			}
		}

		// Token: 0x0600DDA5 RID: 56741 RVA: 0x0025155D File Offset: 0x0024F75D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeMultipleActivityExpeditionRewardScRsp);
		}

		// Token: 0x0600DDA6 RID: 56742 RVA: 0x0025156C File Offset: 0x0024F76C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeMultipleActivityExpeditionRewardScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.fNGGHCIAAJC_.Equals(other.fNGGHCIAAJC_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DDA7 RID: 56743 RVA: 0x002515BC File Offset: 0x0024F7BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.fNGGHCIAAJC_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DDA8 RID: 56744 RVA: 0x00251609 File Offset: 0x0024F809
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DDA9 RID: 56745 RVA: 0x00251611 File Offset: 0x0024F811
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DDAA RID: 56746 RVA: 0x0025161C File Offset: 0x0024F81C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			this.fNGGHCIAAJC_.WriteTo(ref output, TakeMultipleActivityExpeditionRewardScRsp._repeated_fNGGHCIAAJC_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DDAB RID: 56747 RVA: 0x0025166C File Offset: 0x0024F86C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.fNGGHCIAAJC_.CalculateSize(TakeMultipleActivityExpeditionRewardScRsp._repeated_fNGGHCIAAJC_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DDAC RID: 56748 RVA: 0x002516C0 File Offset: 0x0024F8C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeMultipleActivityExpeditionRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.fNGGHCIAAJC_.Add(other.fNGGHCIAAJC_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DDAD RID: 56749 RVA: 0x0025170D File Offset: 0x0024F90D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DDAE RID: 56750 RVA: 0x00251718 File Offset: 0x0024F918
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 90U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.fNGGHCIAAJC_.AddEntriesFrom(ref input, TakeMultipleActivityExpeditionRewardScRsp._repeated_fNGGHCIAAJC_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040057EE RID: 22510
		private static readonly MessageParser<TakeMultipleActivityExpeditionRewardScRsp> _parser = new MessageParser<TakeMultipleActivityExpeditionRewardScRsp>(() => new TakeMultipleActivityExpeditionRewardScRsp());

		// Token: 0x040057EF RID: 22511
		private UnknownFieldSet _unknownFields;

		// Token: 0x040057F0 RID: 22512
		public const int RetcodeFieldNumber = 8;

		// Token: 0x040057F1 RID: 22513
		private uint retcode_;

		// Token: 0x040057F2 RID: 22514
		public const int FNGGHCIAAJCFieldNumber = 11;

		// Token: 0x040057F3 RID: 22515
		private static readonly FieldCodec<CNHNJPOMCLD> _repeated_fNGGHCIAAJC_codec = FieldCodec.ForMessage<CNHNJPOMCLD>(90U, CNHNJPOMCLD.Parser);

		// Token: 0x040057F4 RID: 22516
		private readonly RepeatedField<CNHNJPOMCLD> fNGGHCIAAJC_ = new RepeatedField<CNHNJPOMCLD>();
	}
}
